package com.ljf.gateway.controller;

import org.springframework.core.annotation.Order;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/api/test") // 统一前缀
public class OrderController {
    
    @GetMapping("/1")      // 实际路径: /api/order/list
    public String list() {
        // ...
        return "hello world";
    }

}